package com.czxy.tanhua.autoconfig.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author 爱吃豆的土豆、
 * @Date 2023/3/31 9:44
 */
@Data
@ConfigurationProperties(prefix = "tanhua.oss")
public class OssProperties {
    private String pathProtocol;    //路径协议

    private String endpoint;        //地域

    private String keyId;           //账号

    private String keySecret;       //密码

    private String dirName;         //上传目录

    private String bucketName;      //Bucket 名称
}
